PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Mirror / Milk King to the ExtreemFX flexi - divine struggle - Ft AdamFX n Martin - Picasso In Milk Molten Meltdown E.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.210 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.070 |
| 26 | fWaveScale=1.229 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.200 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=0.000 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=100.000 |
| 33 | fZoomExponent=0.92178 |
| 34 | fShader=1.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wavecode_1_enabled=1 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=0.89152 |
| 96 | wavecode_1_smoothing=1.00000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=0.600 |
| 99 | wavecode_1_b=0.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wave_1_per_frame1=trel = q1-.0; |
| 102 | wave_1_per_frame2=t1 = int(trel)/2; |
| 103 | wave_1_per_frame3=t2 = trel - int(trel); |
| 104 | wave_1_per_point1=k1 = (sample*512) % 8; |
| 105 | wave_1_per_point2= |
| 106 | wave_1_per_point3=t1 = equal (k1,0)*((t1 * 61 + 27) % 4096) |
| 107 | wave_1_per_point4= + (1-equal(k1,0))*t1; |
| 108 | wave_1_per_point5= |
| 109 | wave_1_per_point6=exc = 1+int(rand(5)); |
| 110 | wave_1_per_point7=ampl = sample*sqrt(t2) * (1+exc); |
| 111 | wave_1_per_point8= |
| 112 | wave_1_per_point9=f1 = q4*ampl* sin(t1*6.28/4096); |
| 113 | wave_1_per_point10=f2 = q4*ampl* cos(t1*6.28/4096); |
| 114 | wave_1_per_point11= |
| 115 | wave_1_per_point12=x = q2 + k1* f1 ; |
| 116 | wave_1_per_point13=y = q3 + k1* f2; |
| 117 | wave_1_per_point14= |
| 118 | wave_1_per_point15=a = equal(k1,6) + equal (k1,0); |
| 119 | wave_1_per_point16= |
| 120 | wave_1_per_point17=r = 1; |
| 121 | wave_1_per_point18=b = equal (k1,0); |
| 122 | wave_1_per_point19=g = .6* (1+.6*equal (k1,0)) ; |
| 123 | wave_1_per_point20=a = a * q5 * (1-0*t2*t2); |
| 124 | wave_1_per_point21=//a = 0; |
| 125 | wave_1_per_point22= |
| 126 | wavecode_2_enabled=1 |
| 127 | wavecode_2_samples=512 |
| 128 | wavecode_2_sep=0 |
| 129 | wavecode_2_bSpectrum=0 |
| 130 | wavecode_2_bUseDots=0 |
| 131 | wavecode_2_bDrawThick=0 |
| 132 | wavecode_2_bAdditive=0 |
| 133 | wavecode_2_scaling=0.01348 |
| 134 | wavecode_2_smoothing=0.00000 |
| 135 | wavecode_2_r=1.000 |
| 136 | wavecode_2_g=0.600 |
| 137 | wavecode_2_b=0.000 |
| 138 | wavecode_2_a=0.310 |
| 139 | wave_2_init1=t1 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 140 | wave_2_init2=t2 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 141 | wave_2_init3=t3 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 142 | wave_2_init4=t4 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 143 | wave_2_init5=t5 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 144 | wave_2_init6=t6 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 145 | wave_2_init7=t7 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 146 | wave_2_init8=t8 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 147 | wave_2_init9= |
| 148 | wave_2_per_frame1=trel = q1-.33; |
| 149 | wave_2_per_frame2=t1 = int(trel)/3; |
| 150 | wave_2_per_frame3=t2 = trel - int(trel); |
| 151 | wave_2_per_frame4= |
| 152 | wave_2_per_frame5= |
| 153 | wave_2_per_frame6= |
| 154 | wave_2_per_point1=k1 = (sample*512) % 8; |
| 155 | wave_2_per_point2= |
| 156 | wave_2_per_point3=t1 = equal (k1,0)*((t1 * 61 + 27) % 4096) |
| 157 | wave_2_per_point4= + (1-equal(k1,0))*t1; |
| 158 | wave_2_per_point5= |
| 159 | wave_2_per_point6=ampl = sample*sqrt(t2); |
| 160 | wave_2_per_point7= |
| 161 | wave_2_per_point8=f1 = q4*ampl* sin(t1*6.28/4096); |
| 162 | wave_2_per_point9=f2 = q4*ampl* cos(t1*6.28/4096); |
| 163 | wave_2_per_point10= |
| 164 | wave_2_per_point11=x = q2 + k1* f1 ; |
| 165 | wave_2_per_point12=y = q3 + k1* f2; |
| 166 | wave_2_per_point13= |
| 167 | wave_2_per_point14=a = equal(k1,6) + equal (k1,0); |
| 168 | wave_2_per_point15= |
| 169 | wave_2_per_point16=r = 1; |
| 170 | wave_2_per_point17=b = equal (k1,0); |
| 171 | wave_2_per_point18=g = .6* (1+.6*equal (k1,0)); |
| 172 | wave_2_per_point19=a = a * q5 * (1-0*t2*t2); |
| 173 | wave_2_per_point20=//a = 0; |
| 174 | wavecode_3_enabled=1 |
| 175 | wavecode_3_samples=512 |
| 176 | wavecode_3_sep=0 |
| 177 | wavecode_3_bSpectrum=1 |
| 178 | wavecode_3_bUseDots=0 |
| 179 | wavecode_3_bDrawThick=0 |
| 180 | wavecode_3_bAdditive=0 |
| 181 | wavecode_3_scaling=1.00000 |
| 182 | wavecode_3_smoothing=0.50000 |
| 183 | wavecode_3_r=1.000 |
| 184 | wavecode_3_g=0.600 |
| 185 | wavecode_3_b=0.000 |
| 186 | wavecode_3_a=1.000 |
| 187 | wave_3_per_frame1=trel = q1-.66; |
| 188 | wave_3_per_frame2=t1 = int(trel); |
| 189 | wave_3_per_frame3=t2 = trel - int(trel); |
| 190 | wave_3_per_point1=k1 = (sample*512) % 8; |
| 191 | wave_3_per_point2= |
| 192 | wave_3_per_point3=t1 = equal (k1,0)*((t1 * 61 + 27) % 4096) |
| 193 | wave_3_per_point4= + (1-equal(k1,0))*t1; |
| 194 | wave_3_per_point5= |
| 195 | wave_3_per_point6=ampl = sample*sqrt(t2); |
| 196 | wave_3_per_point7= |
| 197 | wave_3_per_point8=f1 = q4*ampl* sin(t1*6.28/4096); |
| 198 | wave_3_per_point9=f2 = q4*ampl* cos(t1*6.28/4096); |
| 199 | wave_3_per_point10= |
| 200 | wave_3_per_point11=x = q2 + k1* f1 ; |
| 201 | wave_3_per_point12=y = q3 + k1* f2; |
| 202 | wave_3_per_point13= |
| 203 | wave_3_per_point14=a = equal(k1,6) + equal (k1,0); |
| 204 | wave_3_per_point15= |
| 205 | wave_3_per_point16=r = 1; |
| 206 | wave_3_per_point17=b = equal (k1,0); |
| 207 | wave_3_per_point18=g = .6* (1+.6*equal (k1,0)); |
| 208 | wave_3_per_point19=a = a * q5 * (1-0*t2*t2); |
| 209 | wave_3_per_point20=//a = 0; |
| 210 | shapecode_0_enabled=0 |
| 211 | shapecode_0_sides=33 |
| 212 | shapecode_0_additive=0 |
| 213 | shapecode_0_thickOutline=0 |
| 214 | shapecode_0_textured=1 |
| 215 | shapecode_0_num_inst=1 |
| 216 | shapecode_0_x=0.500 |
| 217 | shapecode_0_y=0.520 |
| 218 | shapecode_0_rad=0.66530 |
| 219 | shapecode_0_ang=0.00000 |
| 220 | shapecode_0_tex_ang=1.00530 |
| 221 | shapecode_0_tex_zoom=1.14795 |
| 222 | shapecode_0_r=0.990 |
| 223 | shapecode_0_g=0.900 |
| 224 | shapecode_0_b=0.990 |
| 225 | shapecode_0_a=0.970 |
| 226 | shapecode_0_r2=1.000 |
| 227 | shapecode_0_g2=1.000 |
| 228 | shapecode_0_b2=0.890 |
| 229 | shapecode_0_a2=0.600 |
| 230 | shapecode_0_border_r=1.000 |
| 231 | shapecode_0_border_g=1.000 |
| 232 | shapecode_0_border_b=0.000 |
| 233 | shapecode_0_border_a=0.000 |
| 234 | shapecode_1_enabled=0 |
| 235 | shapecode_1_sides=54 |
| 236 | shapecode_1_additive=0 |
| 237 | shapecode_1_thickOutline=0 |
| 238 | shapecode_1_textured=0 |
| 239 | shapecode_1_num_inst=1 |
| 240 | shapecode_1_x=0.290 |
| 241 | shapecode_1_y=0.500 |
| 242 | shapecode_1_rad=0.01000 |
| 243 | shapecode_1_ang=3.76991 |
| 244 | shapecode_1_tex_ang=0.00000 |
| 245 | shapecode_1_tex_zoom=6.16617 |
| 246 | shapecode_1_r=0.850 |
| 247 | shapecode_1_g=0.000 |
| 248 | shapecode_1_b=1.000 |
| 249 | shapecode_1_a=0.900 |
| 250 | shapecode_1_r2=1.000 |
| 251 | shapecode_1_g2=1.000 |
| 252 | shapecode_1_b2=1.000 |
| 253 | shapecode_1_a2=0.860 |
| 254 | shapecode_1_border_r=0.500 |
| 255 | shapecode_1_border_g=0.500 |
| 256 | shapecode_1_border_b=0.500 |
| 257 | shapecode_1_border_a=0.000 |
| 258 | shape_1_per_frame1=t0 = time/3; |
| 259 | shape_1_per_frame2=x = t0 - int(t0); |
| 260 | shape_1_per_frame3=y = 0.3+mid/50; |
| 261 | shapecode_2_enabled=0 |
| 262 | shapecode_2_sides=63 |
| 263 | shapecode_2_additive=0 |
| 264 | shapecode_2_thickOutline=0 |
| 265 | shapecode_2_textured=0 |
| 266 | shapecode_2_num_inst=1 |
| 267 | shapecode_2_x=0.123 |
| 268 | shapecode_2_y=0.000 |
| 269 | shapecode_2_rad=0.01100 |
| 270 | shapecode_2_ang=0.00000 |
| 271 | shapecode_2_tex_ang=0.00000 |
| 272 | shapecode_2_tex_zoom=0.49981 |
| 273 | shapecode_2_r=1.000 |
| 274 | shapecode_2_g=1.000 |
| 275 | shapecode_2_b=1.000 |
| 276 | shapecode_2_a=1.000 |
| 277 | shapecode_2_r2=0.000 |
| 278 | shapecode_2_g2=1.000 |
| 279 | shapecode_2_b2=1.000 |
| 280 | shapecode_2_a2=0.700 |
| 281 | shapecode_2_border_r=0.500 |
| 282 | shapecode_2_border_g=0.500 |
| 283 | shapecode_2_border_b=0.500 |
| 284 | shapecode_2_border_a=0.000 |
| 285 | shape_2_per_frame1=t0 = time/3; |
| 286 | shape_2_per_frame2=x = t0 - int(t0); |
| 287 | shape_2_per_frame3=y = 0.5+treb /50; |
| 288 | shapecode_3_enabled=0 |
| 289 | shapecode_3_sides=63 |
| 290 | shapecode_3_additive=0 |
| 291 | shapecode_3_thickOutline=0 |
| 292 | shapecode_3_textured=0 |
| 293 | shapecode_3_num_inst=1 |
| 294 | shapecode_3_x=0.500 |
| 295 | shapecode_3_y=0.500 |
| 296 | shapecode_3_rad=0.01645 |
| 297 | shapecode_3_ang=0.00000 |
| 298 | shapecode_3_tex_ang=0.00000 |
| 299 | shapecode_3_tex_zoom=1.31212 |
| 300 | shapecode_3_r=1.000 |
| 301 | shapecode_3_g=1.000 |
| 302 | shapecode_3_b=1.000 |
| 303 | shapecode_3_a=1.000 |
| 304 | shapecode_3_r2=1.000 |
| 305 | shapecode_3_g2=1.000 |
| 306 | shapecode_3_b2=1.000 |
| 307 | shapecode_3_a2=0.000 |
| 308 | shapecode_3_border_r=0.500 |
| 309 | shapecode_3_border_g=0.500 |
| 310 | shapecode_3_border_b=0.500 |
| 311 | shapecode_3_border_a=0.000 |
| 312 | shape_3_per_frame1=t0 = time/3; |
| 313 | shape_3_per_frame2=x = t0 - int(t0); |
| 314 | shape_3_per_frame3= |
| 315 | shape_3_per_frame4=//y = q2/30+0.8; |
| 316 | shape_3_per_frame5= |
| 317 | shape_3_per_frame6=y1 = .8 + bass+treb+mid; |
| 318 | shape_3_per_frame7=y = (y1-y0)/200 + .8; |
| 319 | shape_3_per_frame8=y0 = y1; |
| 320 | shape_3_per_frame9= |
| 321 | shape_3_per_frame10= |
| 322 | shape_3_per_frame11=b_ = b_*.9 +bass; |
| 323 | shape_3_per_frame12=m_ = m_*.9 +mid; |
| 324 | shape_3_per_frame13=t_ = t_*.9 +treb; |
| 325 | shape_3_per_frame14= |
| 326 | shape_3_per_frame15=y = .8 + (bass+mid+treb)/150; |
| 327 | shape_3_per_frame16=y = 0.8 + (q2+q1)/30; |
| 328 | shape_3_per_frame17=//f.0 = 3; |
| 329 | per_frame_init_1=x1 = 0.9; |
| 330 | per_frame_init_2=y1 = 0.5; |
| 331 | per_frame_init_3= |
| 332 | per_frame_init_4=x2 = 0.5; y2 = 0.5; |
| 333 | per_frame_init_5=x3 = 0.5; y3 = 0.5; |
| 334 | per_frame_init_6=x4 = 0.5; y4 = 0.5; |
| 335 | per_frame_1=zoom = 1; |
| 336 | per_frame_2=warp = 0; |
| 337 | per_frame_3=wave_a = 0; |
| 338 | per_frame_4= |
| 339 | per_frame_5=// elastic thread code |
| 340 | per_frame_6= |
| 341 | per_frame_7=xx1 = xx1*0.9 + (bass)*0.01; |
| 342 | per_frame_8=xx2 = xx2*0.9 + (treb)*0.01; |
| 343 | per_frame_9=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 344 | per_frame_10=x1 = 0.5 + (xx1-xx2)*2; |
| 345 | per_frame_11=y1 = 0.4 + yy1*1.5; |
| 346 | per_frame_12=dt = 0.03/fps; |
| 347 | per_frame_13=vx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10); |
| 348 | per_frame_14=vy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5); |
| 349 | per_frame_15=vx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10); |
| 350 | per_frame_16=vy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5); |
| 351 | per_frame_17=vx4 = vx4*(1-2*dt) + dt*((x3-x4)*10); |
| 352 | per_frame_18=vy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5); |
| 353 | per_frame_19=x2 = x2 + vx2; y2 = y2 + vy2; |
| 354 | per_frame_20=x3 = x3 + vx3; y3 = y3 + vy3; |
| 355 | per_frame_21=x4 = x4 + vx4; y4 = y4 + vy4; |
| 356 | per_frame_22=vx2 = if(above(x2,0),vx2,abs(vx2)*0.5); |
| 357 | per_frame_23=vx2 = if(below(x2,1),vx2,-abs(vx2)*0.5); |
| 358 | per_frame_24=vx3 = if(above(x3,0),vx3,abs(vx3)*0.5); |
| 359 | per_frame_25=vx3 = if(below(x3,1),vx3,-abs(vx3)*0.5); |
| 360 | per_frame_26=vx4 = if(above(x4,0),vx4,abs(vx4)*0.5); |
| 361 | per_frame_27=vx4 = if(below(x4,1),vx4,-abs(vx4)*0.5); |
| 362 | per_frame_28=vy2 = if(above(y2,0),vy2,abs(vy2)*0.5); |
| 363 | per_frame_29=vy2 = if(below(y2,1),vy2,-abs(vy2)*0.5); |
| 364 | per_frame_30=vy3 = if(above(y3,0),vy3,abs(vy3)*0.5); |
| 365 | per_frame_31=vy3 = if(below(y3,1),vy3,-abs(vy3)*0.5); |
| 366 | per_frame_32=vy4 = if(above(y4,0),vy4,abs(vy4)*0.5); |
| 367 | per_frame_33=vy4 = if(below(y4,1),vy4,-abs(vy4)*0.5); |
| 368 | per_frame_34=q1 = x1;q2 = x2;q3 = x3;q4 = x4; |
| 369 | per_frame_35=q5 = y1;q6 = y2;q7 = y3;q8 = y4; |
| 370 | per_frame_36=q9 = 1/aspectx; |
| 371 | per_frame_37=q10 = 1/aspecty; |
| 372 | per_frame_38=q11 = aspectx; |
| 373 | per_frame_39=q12 = aspecty; |
| 374 | per_frame_40= |
| 375 | per_frame_41=// coloring borders |
| 376 | per_frame_42=bb = bb*0.99 + bass*0.02; |
| 377 | per_frame_43=mm = mm*0.99 + mid*0.02; |
| 378 | per_frame_44=tt = tt*0.99 + treb*0.02; |
| 379 | per_frame_45= |
| 380 | per_frame_46=mx = max(max(bb,mm),tt); |
| 381 | per_frame_47=mn = min(min(bb,mm),tt); |
| 382 | per_frame_48= |
| 383 | per_frame_49=ob_r = (bb-mn)/(mx-mn); |
| 384 | per_frame_50=ob_b = (mm-mn)/(mx-mn); |
| 385 | per_frame_51=ob_g = (tt-mn)/(mx-mn); |
| 386 | per_frame_52= |
| 387 | per_frame_53=v = 0.4/fps; |
| 388 | per_frame_54=bm = bm + (ob_r-ob_b)*v; |
| 389 | per_frame_55=mt = mt + (ob_b-ob_g)*v; |
| 390 | per_frame_56= |
| 391 | per_frame_57=// coordinates spiral 1 |
| 392 | per_frame_58=q21 = 0.5; // X |
| 393 | per_frame_59=q22 = 0; // Y |
| 394 | per_frame_60= |
| 395 | per_frame_61=// coordinates spiral 2 |
| 396 | per_frame_62=q23 = -0.5; |
| 397 | per_frame_63=q24 = 0; |
| 398 | per_frame_64= |
| 399 | per_frame_65=q25 = 0.5/asin(1); // pi/4 |
| 400 | per_frame_66= |
| 401 | per_frame_67=q26 = -bm; // rotation |
| 402 | per_frame_68=q27 = mt; // growth |
| 403 | per_pixel_1=x = 0.5 + (x-0.5)*q11; |
| 404 | per_pixel_2=y = 0.5 + (y-0.5)*q12; |
| 405 | per_pixel_3=xx = q4; |
| 406 | per_pixel_4=yy = 1-q8; |
| 407 | per_pixel_5= |
| 408 | per_pixel_6=dx = 0; dy = 0; |
| 409 | per_pixel_7= |
| 410 | per_pixel_8=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy)); |
| 411 | per_pixel_9= |
| 412 | per_pixel_10=r = 0.11; |
| 413 | per_pixel_11=v = 20; |
| 414 | per_pixel_12=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)))*(1.00-sigmoid(d-r,100)); |
| 415 | per_pixel_13=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)))*(1.00-sigmoid(d-r,100)); |
| 416 | warp_1=`shader_body { |
| 417 | warp_2=` |
| 418 | warp_3=`//uv = uv_orig; |
| 419 | warp_4=`float corr = texsize.xy*texsize_noise_lq.zw; |
| 420 | warp_5=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5)*aspect.xy; |
| 421 | warp_6=` |
| 422 | warp_7=`float2 tmp = uv1; |
| 423 | warp_8=`tmp.x = ang*3; tmp.y = rad; |
| 424 | warp_9=`uv1 = tmp; |
| 425 | warp_10=` |
| 426 | warp_11=`float3 noise = (tex2D(sampler_noise_lq,corr*uv/2+q23)+1); |
| 427 | warp_12=` |
| 428 | warp_13=`float3 ret1 = GetBlur1 (uv)-.3; |
| 429 | warp_14=`float3 crisp = tex2D(sampler_main, uv+ret1*.01 ) + noise*0.1; |
| 430 | warp_15=`float3 blur = GetBlur1 (uv/4+.4*float2(.3*ret1.x,ret1.y)) - noise*.1; |
| 431 | warp_16=` |
| 432 | warp_17=`ret = -.4*blur + crisp; |
| 433 | warp_18=` |
| 434 | warp_19=` ret *= 0.98 * pow(1-.01*q28*q28*rad,2); |
| 435 | warp_20=` ret -= 0.04; |
| 436 | warp_21=`} |
| 437 | comp_1=`float2 d, uv_y; |
| 438 | comp_2=`float3 dx, dy; |
| 439 | comp_3=`float2 numerator, denominator, fraction; |
| 440 | comp_4=` |
| 441 | comp_5=`shader_body |
| 442 | comp_6=`{ |
| 443 | comp_7=` |
| 444 | comp_8=`/*** Flexis cleaned up Moebius spiral code ***/ |
| 445 | comp_9=` |
| 446 | comp_10=`float cutoff = 0.95; |
| 447 | comp_11=`int n = -1; |
| 448 | comp_12=`float s = 0.4; |
| 449 | comp_13=` |
| 450 | comp_14=` float2 c = (uv-0.5)*2*aspect.wz; |
| 451 | comp_15=` numerator = (c + float2(q21,q22))*64; |
| 452 | comp_16=` denominator = c + float2(q23,q24); |
| 453 | comp_17=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 454 | comp_18=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 455 | comp_19=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 456 | comp_20=` c = fraction-0.5; |
| 457 | comp_21=` float1 ang_hq = n*atan2(c.x,c.y); |
| 458 | comp_22=` float2 spiral = float2(ang_hq*q25+q26,s*aspect.w*log(length(c))+ang_hq*q25+q27); |
| 459 | comp_23=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror |
| 460 | comp_24=` |
| 461 | comp_25=`/**********************************************/ |
| 462 | comp_26=`float2 uvo = uv; |
| 463 | comp_27=`uv = spiral; |
| 464 | comp_28=` |
| 465 | comp_29=` d = texsize.zw*8; |
| 466 | comp_30=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 467 | comp_31=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 468 | comp_32=` |
| 469 | comp_33=`float3 base = GetPixel(uv); |
| 470 | comp_34=`float3 emboss = (-dx + dy + 1)*1.2; |
| 471 | comp_35=` |
| 472 | comp_36=` d = texsize.zw*2; |
| 473 | comp_37=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 474 | comp_38=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 475 | comp_39=` |
| 476 | comp_40=`float grad = length(float2(dx.x,dy.x)); |
| 477 | comp_41=` |
| 478 | comp_42=`ret = lerp( float3(0.5,0.4,0.6)*base.x*emboss.x, |
| 479 | comp_43=` float3(8,5,2)*grad, |
| 480 | comp_44=` grad*4.2 |
| 481 | comp_45=` ); |
| 482 | comp_46=`ret = lerp(ret,4*ret,GetPixel(uv).y*0.5-GetBlur1(uv).z*0.3*float3(0.3,1,1)); |
| 483 | comp_47=` |
| 484 | comp_48=`grad = length(float2(dx.z,dy.z)); |
| 485 | comp_49=`ret = lerp(ret, float3(2,2,0), grad*0.7); |
| 486 | comp_50=`} |
| 487 | comp_51=` |